home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Collections: Purity
/
Purity #22 (1994-01-19)(Diesel)(DE)[WB].zip
/
Purity #22 (1994-01-19)(Diesel)(DE)[WB].adf
/
ClockUnit
/
ClockUnitDemo.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1994-01-17
|
718b
|
23 lines
{**********************************************************************}
{ ClockDemo }
{ }
{ Demonstrates the use of 'Clockunit' }
{**********************************************************************}
PROGRAM ClockDemo;
Uses ClockUnit;
VAR
Hour,Min,Sec : Word;
Day,Month,Year : Word;
WDay : String;
BEGIN
IF GetTimeDate(Hour,Min,Sec,Day,Month,Year,WDay) THEN
BEGIN
Writeln('Current time : ',Hour,':',Min,':',Sec);
Writeln('Current date : ',Day,'-',Month,'-',Year);
Writeln('Todays is ',WDay);
END;
END.